package BDLayer;

import java.util.List;

import modelLayer.Store;

public interface IFDBStore {
	
	//return list of type Store
	public List<Store> getAllStore(boolean retriveAssociation);
	
	//return object of type store by references no.
	public Store findStoreByReferencesNo(String referenceNo, boolean retriveAssociation);
	
	//insert object of type Store
	public int insertStore(Store store, boolean retriveAssociation) throws Exception;
	
	//update object of type Store
	public int updateStore(Store store, boolean retriveAssociation) throws Exception;
	
	//delete object of type Store
	public int deleteStore(Store store, boolean retriveAsscoiation) throws Exception;
}
